<?php
/**
 * Magento
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE_AFL.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@magentocommerce.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Magento to newer
 * versions in the future. If you wish to customize Magento for your
 * needs please refer to http://www.magentocommerce.com for more information.
 *
 * @category    design
 * @package     base_default
 * @copyright   Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
 * @license     http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */
?>
<?php
/**
 * Customer login form template
 *
 * @see app/design/frontend/base/default/template/customer/form/login.phtml
 */
/** @var $this Mage_Customer_Block_Form_Login */
?>


<div class="headlabel"><?php echo $this->__('SIGN IN') ?></div>
<div class="signin">
    <div class="box-left sign">
        <h4><?php echo $this->__('Member Sign-in') ?></h4>
        <div class="content-box">
            <?php echo $this->getChildHtml('customer.form.login.extra')?>
            <form class="jNice" action="<?php echo $this->getPostActionUrl() ?>" method="post" id="login-form">
                <fieldset>
                    <label><?php echo $this->__('Your Name') ?></label>
                    <!--<input type="text"/>-->                         
                    <input type="text" name="login[username]" value="<?php echo $this->htmlEscape($this->getUsername()) ?>" id="email" class="required-entry validate-email" title="<?php echo $this->__('Your Name') ?>" />
                </fieldset>
                <fieldset>
                    <label><?php echo $this->__('Password') ?></label>
                    <!--<input  type="text"/>-->
                    <input type="password" name="login[password]" class="required-entry validate-password" id="pass" title="<?php echo $this->__('Password') ?>" />
                    <?php echo $this->getChildHtml('form.additional.info'); ?>
                </fieldset>
                <fieldset class="checkremember">
                    <input  type="checkbox" /><span class="text"> <?php echo $this->__('Remember me') ?></span>
                </fieldset>
                <fieldset class="btnsubmit" >
                    <button type="submit" class="btn-submit" title="<?php echo $this->__('Login') ?>" name="send" id="send2"><span><span><?php echo $this->__('Login') ?></span></span></button><br /><br/>
                    <!--<input type="submit" class="btn-submit" value="Login"/><br /><br/>-->
                    <a href="<?php echo $this->getForgotPasswordUrl() ?>" class="forgetpass"><?php echo $this->__('Forget your password') ?></a>
                </fieldset>
            </form>
            <script type="text/javascript">
            //<![CDATA[
                var dataForm = new VarienForm('login-form', true);
            //]]>
            </script>
            
            <div class="login-facebook">
                    <div class="line"><span><?php echo $this->__('Or') ?></span></div>
                    <div class="buttons-set">
                        <a rel="facebook-connect"  href="<?php echo $this->getUrl("")."facebook/customer_account/connect/"?>">
                            <img src="<?php echo $this->getSkinUrl('images/btn-login-faebook.png')?>" alt="" />
                        </a>
                    </div>
            </div>
        </div>
    </div>
    <div class="box-left create">
        <h4><?php echo $this->__('Create Account') ?></h4>
        <div class="content-box">
            <p><?php echo $this->__('Please enter your email address to create an account') ?></p>
            <p><span><?php echo $this->__('Username') ?> </span><input type="text" class="createaccount" /></p>
            <p><a href="<?php echo Mage::helper('persistent')->getCreateAccountUrl($this->getCreateAccountUrl()) ?>" class="linkcreateaccount"><?php echo $this->__('Create Account') ?></a></p>
        </div>
    </div>
</div>
